<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>登陆注册</title>
  <link rel="stylesheet" href="./css/register.css">
  <link rel="stylesheet" href="./css/base.css">
  <link rel="stylesheet" href="./css/index.css">
</head>

<body>
  <!-- 头部区域 -->
  <div class="header">
    <div class="wrapper">
      <!-- logo -->
      <div class="logo">
        <h1><a href="#">中华传统文化</a></h1>
      </div>
      <!-- 导航 -->
      <div class="nav">
        <ul>
          <li><a href="index.html">首页</a></li>
          <li><a href="register.html"  class="active">注册</a></li>
          <li><a href="classics.html" target="_blank">名著</a></li>
          <li><a href="inventions.html" target="_blank">发明</a></li>
          <li><a href="video.html" target="_blank">视频</a></li>
          <li><a href="date.html" target="_blank">日期</a></li>
          <li><a href="feedback.html">反馈</a></li>
          <li><a href="author.html">作者</a></li>
        </ul>
      </div>
      <!-- 搜索 -->
      <div class="search">
        <input type="text" placeholder="请输入关键词">
        <a href="#"></a>
      </div>
      <!-- 用户 -->
      <div class="user">
        <a href="#">
          <img src="./uploads/user.png" alt="">
          <span>GR</span>
        </a>
      </div>
    </div>
  </div>
  <div class="container" id="container">
    <div class="form-container sign-up-container">
      <!-- 注册 -->
      <form action="register.html" method="post">
        <h1>用户注册</h1>
        <input type="text" name="username" id="username" placeholder="用户名" required>
        <input type="password" name="password" id="password" placeholder="密码" required>
        <input type="email" placeholder="邮箱" required>
        <button>注册</button>
      </form>
    </div>
    <div class="form-container sing-in-container">
      <!-- 登陆 -->
      <form action="index.html" method="post">
        <h1>用户登陆</h1>
        <input type="text" name="username" id="username" placeholder="用户名" required>
        <input type="password" name="password" id="password" placeholder="密码" required>
        <a href="#">忘记密码?</a>
        <button>登陆</button>
      </form>
    </div>
    <!-- 侧边栏内容 -->
    <div class="overlay-container">
      <div class="overlay">
        <div class="overlay-pannel overlay-left">
          <h1>已有账号?</h1>
          <p>点击下面按钮去登陆</p>
          <button class="ghost" id="signIn" type="submit">登陆</button>
        </div>
        <div class="overlay-pannel overlay-right">
          <h1>没有帐号？</h1>
          <p>点击下面按钮注册一个账号</p>
          <button class="ghost" id="signUp" type="submit">注册</button>
        </div>
      </div>
    </div>
  </div>
  <script src="./js/index.js"></script>
</body>

</html>